<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.List,java.util.Iterator, Modelo.Fuente" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@page import = "java.util.*" %>
<%@page import = "Modelo.*" %>
<%@page import = "javax.swing.*" %>

<jsp:useBean id="proyecto" scope="request" class="Modelo.Proyecto" />
<%
//esto es para que no guarde en el cache la pagina
            response.setHeader("Cache-Control", "max-age=0");
            response.setHeader("Cache-Control", "no-cache");
            response.setHeader("Cache-Control", "no-store");
            response.setHeader("Pragma", "no-cache");
            response.setDateHeader("Expires", -1);
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Autoevaluacion</title>
        <link href="<%=request.getContextPath()%>/css/style2.css" rel="stylesheet" type="text/css" media="screen" />
        <script type="text/javascript" src="<%=request.getContextPath()%>/jQuery/js/jquery-1.3.2.min.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/jQuery/js/jquery-ui-1.7.2.custom.min.js"></script>
        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/jQuery/bdc-ddmenu-0.3/css/ddmenu.css"/>
        <script type="text/javascript" src="<%=request.getContextPath()%>/jQuery/bdc-ddmenu-0.3/js/jquery.bdc.ddmenu.js"></script>

        <script type="text/javascript">
            $(function(){
                $('#nav > ul').ddMenu({
                    initial: 'BDC DrillDown Menu|Examples',
                    easing: 'easeOutExpo',
                    duration: 1000,
                    rootTitle: 'jQuery'
                });
                $('a[href^=http://]').attr('target', '_blank');

                $('#example-5').ddMenu({ rootTitle: 'Menú Acciones' , easing: 'easeOutBounce' });


                $('#example').ddMenu({ rootTitle: 'Enlaces Institucionales' , easing: 'easeOutBounce' });


            });
        </script>

    </head>

    <body>
        <%
                    HttpSession s = request.getSession();
                    if (s.getAttribute("logged") != null && s.getAttribute("logged").equals(true)) {
                        Representante rrr = (Representante) s.getAttribute("representante");
        %>
        <jsp:include page="../componentes/cabecera.jsp"></jsp:include>

        <div id="page">
            <div id="page-bgtop">
                <div id="content">
                    <div class="post">
                        <div class="entry">
                            <iframe  src ="<%=request.getContextPath()%>/proyecto/mostrar.jsp" name="frame" scrolling="auto"  frameborder="0"  width="670" height="700">
                           </iframe>
                        </div>
                    </div>
                </div>
                <!-- end #content -->
                <div id="sidebar">
                    <jsp:include page="../componentes/menu.jsp"></jsp:include>
                </div>
                <!-- end #sidebar -->
                <div style="clear: both;">&nbsp;</div>
            </div>

            <jsp:include page="../componentes/pie.jsp"></jsp:include>
  

        </div><!--page-->
        <%} else {
                        response.sendRedirect(request.getContextPath() + "/index.jsp");
                    }%>
    </body>

</html>
